public class ClassName<E extends Number> {
    //......
}
class Test{
    public static void main(String[] args) {
        ClassName<Integer> cN = new ClassName<>();
        ClassName<String> cn = new ClassName<>();//String 不是Number的子类
    }
}
